#pragma once
#include "FaceCoreBase.h"

#ifndef __FACEENGINE_H__
#define __FACEENGINE_H__



#define MAX_FACE_COUNT 10

class FaceEngine
{
public:
	FaceEngine(void);
	~FaceEngine();
	bool CreateEngine();
	void FreeEngine();
	int DetectFaces4Buffer(unsigned char* imageBuffer, int imageBufferLength, FaceModel* results);
	int DetectFaces4Path(char* imagePath, FaceModel* results);
	float Compare2Feature(const unsigned char* fea1, const unsigned char* fea2);
	bool GetEngineState();
protected:
	HSF m_engine;
	bool m_isCreateEngine;
};
#endif

